from django.utils.deprecation import MiddlewareMixin
from django.http import HttpResponse
from django.http import HttpRequest

"""
中间件，检查登录
"""


class MD(MiddlewareMixin):
    def process_request(self, request: HttpRequest):
        # print('middleware001')
        pass
